<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use  App\Models\Banner;

class BannerController extends Controller
{
    public function list()
    {
        $data = Banner::paginate(4);
        return $data;
    }
}
